#coding=utf_8
import random
b = random.randint(1,100)
print b
for i in xrange(1,6):
	a = int(raw_input("您有%d次机会，请输入一个1-100内的数字："%(6-i)))
	if a==b:
		print "恭喜你，猜对了"
		break
	elif a<b:
		print "比%d大"%(a)
	else :
		print "比%d小"%(a)
if i==6:
        print "机会用尽，您没猜出来"
